<!DOCTYPE html>
<html data-ng-app="myApp">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>双列表</title>    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="../../lib/bootstrap/css/bootstrap.min.css">
    <!--双列表-->
    <link rel="stylesheet" href="../../lib/bootstrap-listbox/css/bootstrap-duallistbox.css">
    <!--公共样式-->
    <link rel="stylesheet" href="../../themes/common/css/common.css"/>
    <!--自定义bootstrap样式-->
    <link rel="stylesheet" href="../../themes/one.bootstrap/one.bootstrap.css">
    <!--自定义bootstrap样式-->
    <link rel="stylesheet" href="../../themes/one.bootstrap.table/one.bootstrap.table.css">
    <!--自定义双列表样式-->
    <link rel="stylesheet" href="../../themes/one.bootstrap.duallistbox/one.bootstrap.duallistbox.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="../../lib/bootstrap/js/html5shiv.min.js"></script>
    <script src="../../lib/bootstrap/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="one-wrapper">
    <!--顶部导航开始-->
    <header class="one-top-bar">
        <!--图标-->
        <a href="#" class="one-logo">
            <img src="../../images/logo.png" width="200px"/>
        </a>
        <!--导航-->
        <nav class="one-navbar">
            <!--切换按钮-->
            <a href="#" class="one-sidebar-toggle">
                <span class="one-icon-bar"></span>
                <span class="one-icon-bar"></span>
                <span class="one-icon-bar"></span>
            </a>
            <!--导航内容-->
            <ul class="one-navbar-right">
                <!--修改密码-->
                <li class="pwd">
                    <a href="#">
                        <i class="glyphicon glyphicon-user"></i>
                    </a>
                </li>
                <!--退出按钮-->
                <li class="quit">
                    <a href="#">
                        退出
                    </a>
                </li>
                <!--设置按钮-->
                <li><a href="#" class="glyphicon glyphicon-cog"></a></li>
            </ul>
        </nav>
    </header>
    <!--顶部导航结束-->
    <!--侧边栏开始-->
    <aside id="sidebar" class="one-sidebar">
        <ul class="one-sidebar-menu">
            <li class="one-header text-center"><img src="../../images/mune.png" alt=""></li>
            <li>
                <a href="#" class="one-open-tree"><img src="../../images/JurisdictionIcon.png" alt=""><span>权限管理</span></a>
                <img src="../../images/treeOpen.png" alt="" class="one-treeview-menu-open active"/>
                <ul class="one-treeview-menu one-menu-open" style="display: block">
                    <li  ng-click="jump('/account')" class="active">
                        <a href="#" class="active">账户管理</a>
                    </li>
                    <li ng-click="jump('/menuManager')">
                        <a href="#">菜单管理</a>
                    </li>
                    <li ng-click="jump('/character')">
                        <a href="#">角色管理</a>
                    </li>
                    <li ng-click="jump('/privilege')">
                        <a href="#">权限配置</a>
                    </li>
                    <li ng-click="jump('/resource')">
                        <a href="#">资源</a>
                    </li>
                    <li ng-click="jump('/theme')">
                        <a href="#">主题</a>
                    </li>
                    <li ng-click="jump('/portal')">
                        <a href="#">门户</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#" class="one-open-tree"><img src="../../images/JournalIcon.png" alt=""><span>日志管理</span></a>
                <img src="../../images/treeOpen.png" alt="" class="one-treeview-menu-open"/>
                <ul class="one-treeview-menu one-menu-open">
                    <li>
                        <!--三级菜单开始-->
                        <a href="#" class="one-open-tree">登录日志</a>
                        <img src="../../images/treeOpen.png" alt="" class="one-treeview-menu-open"/>
                        <ul class="one-treeview-menu one-menu-open">
                            <li>
                                <a href="#">登录日志</a>
                            </li>
                            <li>
                                <a href="#">操作日志</a>
                            </li>
                            <li>
                                <a href="#">异常日志</a>
                            </li>
                        </ul>
                        <!--三级菜单结束-->
                    </li>
                    <li>
                        <a href="#">操作日志</a>
                    </li>
                    <li>
                        <a href="#">异常日志</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#" class="one-open-tree"><img src="../../images/peopleIcon.png" alt=""><span>用户管理</span></a>
                <img src="../../images/treeOpen.png" alt="" class="one-treeview-menu-open"/>
                <ul class="one-treeview-menu one-menu-open">
                    <li ng-click="jump('/customer')">
                        <a href="#">用户</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#" class="one-open-tree"><img src="../../images/adminIcon.png" alt=""><span>组织管理</span></a>
                <img src="../../images/treeOpen.png" alt="" class="one-treeview-menu-open"/>
                <ul class="one-treeview-menu one-menu-open">
                    <li ng-click="jump('/adminDivision')">
                        <a href="#">行政区划</a>
                    </li>
                    <li ng-click="jump('/government')">
                        <a href="#">政府机构</a>
                    </li>
                    <li ng-click="jump('/company')">
                        <a href="#">企业</a>
                    </li>
                    <li ng-click="jump('/section')">
                        <a href="#">部门</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#" class="one-open-tree"><img src="../../images/siteIcon.png" alt=""><span>站点管理</span></a>
                <img src="../../images/treeOpen.png" alt="" class="one-treeview-menu-open"/>
                <ul class="one-treeview-menu one-menu-open">
                    <li ng-click="jump('/site')">
                        <a href="#">站点</a>
                    </li>
                    <li ng-click="jump('/siteType')">
                        <a href="#">站点类型</a>
                    </li>
                </ul>
            </li>
        </ul>
    </aside>
    <!--侧边栏结束-->
    <!--局部刷新页面所在位置开始-->
    <div class="one-content-wrapper">
        <section class="one-content-header">
            <h3 class="one-content-type">
                <i></i> 双列表
            </h3>
            <ol class="one-breadcrumb">
                <li><a href="#">首页</a></li>
                <li><a href="#">权限系统</a></li>
                <li class="active">双列表</li>
            </ol>
        </section>
        <section class="one-content one-min-height">
            <div class="row">
                <div class="col-md-8 col-md-push-2">
                  <form action="#" method="post" class="form-horizontal">
                    <div class="one-form-header">
                      <div class="row">
                        <div class="col-md-4 col-md-push-2 ">
                          <div class="form-group">
                            <label for="character_allotUser_name" class="col-xs-4 control-label"  style="padding-top:7px;text-align:left;">角色名:</label>
                            <div class="col-xs-8">
                              <input type="text" class="form-control disabled" value="APP用户" id="character_allotUser_name" disabled>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div class="one-form-body">
                      <div class="one-duallistbox-body">
                        <select multiple="multiple" size="10" name="duallistbox_demo1" class="demo1">
                          <option value="1">Option 1</option>
                          <option value="2">Option 2</option>
                          <option value="3" selected="selected">Option 3</option>
                          <option value="4">Option 4</option>
                          <option value="5">Option 5</option>
                          <option value="6" selected="selected">Option 6</option>
                          <option value="7">Option 7</option>
                          <option value="8">Option 8</option>
                          <option value="9">Option 9</option>
                          <option value="10">Option 10</option>
                        </select>
                      </div>
                    </div>
                    <div class="one-form-footer">
                      <div class="pull-right">
                        <button class="btn btn-default">取消</button>
                      </div>
                    </div>
                  </form>
                </div>
            </div>
        </section>
    </div>
    <!--局部刷新页面所在位置结束-->
</div>

<!-- jQuery 2.2.3 -->
<script src="../../lib/jQuery/jquery-2.2.3.min.js"></script>
<!--双列表-->
<script src="../../lib/bootstrap-listbox/js/jquery.bootstrap-duallistbox.js"></script>
<script src="../../js/one.sidebar.toggle.click/one.sidebar.toggle.click.js"></script>
<script>
    $(function () {
        var demo2 = $('.demo1').bootstrapDualListbox({
            nonSelectedListLabel: '未分配用户',
            selectedListLabel: '已分配用户',
            preserveSelectionOnMove: 'moved',
            moveAllLabel:"移动所有",
            removeAllLabel:"移除所有",
            infoText:" ",
            infoTextEmpty:" ",
            filterPlaceHolder:"请输入要搜索的内容",
            moveOnSelect: true
        });
        $(".moveall").html('<i class="glyphicon glyphicon-chevron-right"></i><i class="glyphicon glyphicon-chevron-right"></i> ');
        $(".removeall").html('<i class="glyphicon glyphicon-chevron-left"></i><i class="glyphicon glyphicon-chevron-left"></i> ');
        $(".bootstrap-duallistbox-container>div").each(function(){
            $(this).append(`
            <ul class="one-paging-detail pull-left" style="margin-top: 5px;">
                <li><a href="#">共<span>10</span>条 每页：<span>10</span>条</a></li>
            </ul>
            <ul class="pagination pull-right" style="margin-top: 5px;">
                <li><a href="#">上一页</a></li>
                <li><a href="#">下一页</a></li>
            </ul>`
            )
        });
        $("a").click(function(e){
            e.preventDefault();
        });
    });
</script>
</body>
</html>
